package com.team.RunsFast_Api.dto;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fxy
 * @date 2022/9/24
 */
@Data
@NoArgsConstructor
public class StoreNearDto {

    private Long id;
    /**
     * 商铺是否下架
     */
    private Integer flag;
    /**
     * 商铺名称
     */
    private String title;
    /**
     * 商铺图片
     */
    private String imgurl;
    /**
     * 商铺地址
     */
    private String adress;
    /**
     * 商铺信息
     */
    private String info;
    /**
     * 商铺的评价
     */
    private Double comments;

    private String phone;
    /**
     * 邮费
     */
    private Double post;

    /**
     * 两者之间的距离
     */

    private Double distance;

    public StoreNearDto(Long id, Integer flag, String title, String imgurl, String adress, String info, Double comments, String phone, Double post, Double distance) {
        this.id = id;
        this.flag = flag;
        this.title = title;
        this.imgurl = imgurl;
        this.adress = adress;
        this.info = info;
        this.comments = comments;
        this.phone = phone;
        this.post = post;
        this.distance = distance;
    }
}
